<?php

declare(strict_types=1);

namespace App\Robot\Dto;

use App\Common\Dto\DataObject;
use phpDocumentor\Reflection\DocBlock\Tags\Formatter;

class LocationMessageDTO extends DataObject
{
    private string $title;

    private string $address;

    private float $latitude;

    private float $longitude;

    private string $toId;

    public function getTitle(): string
    {
        return $this->title;
    }

    public function setTitle(string $title): LocationMessageDTO
    {
        $this->title = $title;
        return $this;
    }

    public function getAddress(): string
    {
        return $this->address;
    }

    public function setAddress(string $address): LocationMessageDTO
    {
        $this->address = $address;
        return $this;
    }

    public function getLatitude(): float
    {
        return $this->latitude;
    }

    public function setLatitude(float $latitude): LocationMessageDTO
    {
        $this->latitude = $latitude;
        return $this;
    }

    public function getLongitude(): float
    {
        return $this->longitude;
    }

    public function setLongitude(float $longitude): LocationMessageDTO
    {
        $this->longitude = $longitude;
        return $this;
    }

    public function getToId(): string
    {
        return $this->toId;
    }

    public function setToId(string $toId): LocationMessageDTO
    {
        $this->toId = $toId;
        return $this;
    }
}